package com.wuxiaofan.auth.api;

import java.security.Principal;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wuxiaofan
 * @date 2021/11/10 4:05 下午
 */
@Controller
@Slf4j
public class IndexApi {

    @RequestMapping("goToLogin")
    public String goToLogin(){
        return "customlogin";
    }

    @RequestMapping("goToIndex")
    public String goToIndex(){
        return "index";
    }

}
